<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en">
	<head>
		
		<title>Quick start guide for the Java project</title>
		<link rel="stylesheet" href="http://www.openehr.org/styles/oe.css"
			type="text/css"/>
	</head>
	
	<body>
		<h1>Qucik start guide for the Java Implementation Project</h1>
		
		<hr style="width: 100%; height: 2px;"/>
		
		<h2>Required software</h2> 
		<ul>
			<li><b>Subversion 1.4</b> <a href="http://subversion.tigris.org/project_packages.html">download</a></li>
			<li><b>jdk 1.5</b> or above <a href="http://java.sun.com/javase/downloads/index.jsp">download</a></li>
			<li><b>Maven 2.0.4</b> or above <a href="http://maven.apache.org/download.html">download</a></li>			
		</ul>
		<br/>
		
		<hr style="width: 100%; height: 2px;"/>
		
		
		<h2>Steps to download, build and install</h2> 
		<ol>
			<li>Open a command line console</li>
			<li>Optionaly create a new directory, or use an exsiting one; cd to it</li>
			<li>Type 'svn co http://svn.openehr.org/ref_impl_java/TRUNK openehr-java' to downlaod components from the TRUNK</li>
			<li>cd to openehr-java directory</li>
			<li>Type 'mvn clean install' to build, test and install all components</li>
			<li>To get source updated, stand in openehr-java and type 'svn update'</li>
		</ol>
		You can also find jar and javadoc files from 
			<a href="http://svn.openehr.org/ref_impl_java/TRUNK/docs/download.htm">download page.</a>
		<br/>
		
		<hr style="width: 100%; height: 2px;"/>
		
		<h2>Useful commands</h2> 
		<ul>
			<li><b>Run all testcase</b> of a single component: cd to the top directory of the source tree and type 'mvn clean test'</li>
			<li><b>Run a single testcase</b> mvn test -Dtest={testcase}, e.g mvn test -Dtest=DvTimeTest</li>			
		</ul>
		<br/>
		
		<hr style="width: 100%; height: 2px;"/>
		
		<hr style="width: 100%; height: 2px;"/>
		<p><a href="http://svn.openehr.org/ref_impl_java/TRUNK/project_page.htm">
			Back to the Java project page
		</a></p>
	</body>
</html>